package com.dhl.proxy.cglibproxy;

/**
 * @title: Client
 * @Author danghailiang
 * @Date: 2022/8/16 14:54
 * @Version 1.0
 */
public class Client {
    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory(new StudentDao());
        StudentDao instance = (StudentDao)proxyFactory.getProxyInstance();
        instance.study();
    }
}
